{*
 * This file is part of the Agora distribution. 
 * Detailed copyright and licensing information can be found
 * in the gpl-3.0.txt file which should be included in the distribution.
 * 
 * @version		$Id: 3.0.14 Olympus 2010-09-28 rammstein4o $
 * @copyright  2007 - 2010 jVitals
 * @license   GPLv3 Open Source
 * @link       http://jvitals.com
 * @since      File available since initial release
 *}	

{script src=js/merge.js}
<form name="adminForm" method="POST">
	<input type="hidden" name="action" value="choose"/>
	<input type="hidden" name="task" value="maintenance"/>
	<input type="hidden" name="page" value="mergeusers"/>
	<input type="hidden" name="option" value="com_agora"/>	
	##Username##&nbsp;<input type="text" name="filter[username]" value="{$filter.username}"/>
	##Email##&nbsp;<input type="text" name="filter[email]" value="{$filter.email}"/>
	##Strict match##&nbsp;<input type="checkbox" name="filter_strict" value="1" {if $filter_strict}checked="checked"{/if}/>
	<input type="submit" value="##Filter##"/>
	
	<table class="adminlist">
		<thead>
			<th width="20">##Id##</th>
			<th>##Username##</th>
			<th>##Email##</th>
			<th></th>
		</thead>
		<tfoot>
			<tr><td colspan="9">{$pagination->getListFooter()}</td></tr>
		</tfoot>
		<tbody>
			<tr>
				<td>0</td>
				<td>Guest</td>
				<td></td>
				<td><a href="#" onclick="add_chosen(0, 'Guest', {$addtype});return false;" title="##Add##"><img src="/components/com_agora/img/buttons/insert.png"></a></td>
			</tr>
			{foreach from=$users item=user key=num}
			<tr>
				<td>{$user.id}</td>
				<td>{$user.username}</td>
				<td>{$user.email}</td>
				<td><a href="#" onclick="add_chosen({$user.id}, '{$user.username}', {$addtype});return false;" title="##Add##"><img src="/components/com_agora/img/buttons/insert.png"></a></td>
			</tr>
			{/foreach}
		</tbody>
	</table>
</form>
